package com.fz.song.mapping;

import com.fz.song.pojo.SysRoleResource;

import java.util.List;

public interface SysRoleResourceMapper {
    int deleteByPrimaryKey(Integer sysid);

    int insert(SysRoleResource record);

    int insertSelective(SysRoleResource record);

    SysRoleResource selectByPrimaryKey(Integer sysid);

    int updateByPrimaryKeySelective(SysRoleResource record);

    int updateByPrimaryKey(SysRoleResource record);

    List<SysRoleResource> queryHaveResource(int sysid);

    void cleanRole(Integer sysid);

    int insertbatch(List<SysRoleResource> list);

    List<SysRoleResource> queryRoleResource(Integer roleid);
}